Tutorial 10: The Multimedia System | ||||||||
---|---|---|---|---|---|---|---|---|
|
Multimedia Overview
|
Usenet is a text only medium. It is possible to include non-textual
information such as pictures, audio, and video by encoding the data in
various ways. There are two basic standards for non text information on
usenet:
image/gif text/plain application/octet-stream application/postscript In the case of MIME messages, NewsRog can obtain the multimedia type from the information MIME itself provides. In the case of uuencode, this is not possible, but NewsRog provides a powerful ability to auto-detect the data type by examining the decoded data itself. Any multimedia types or subtypes that begin with the X- are internal to NewsRog. An example is "application/X-URL". Other multimedia types or subtypes that do not begin with X- are standardized. |
Multimedia Actions |
User defined actions may be defined for different multimedia types. For
example, you might define a Show action that calls one command for
image/jpeg and another for application/postscript. Then you might define
a Print command that sends application/postscript data to a
postscript printer and text/plain data to another printer. Actions can
match multimedia types using wildcards, so one might define an action for
image/*. Actions can have any user defined name. The multimedia action editor looks like this:
This editor associates multimedia types with user commands. The following buttons are available:
|
Multimedia Action Parameters |
For each multimedia action, the following data may be defined:
|
Multimedia Type Recognition |
The multimedia type recognition system is used only in cases where the
multimedia type is not specified in the file itself (for example,
uuencoded data does not specify a multimedia type). In this case, NewsRog
will attempt to determine the content type by examining the encoded data
itself. The Multimedia Types lists contains a set of rules to be used in
order to match data name or content to multimedia types. Not all types
need ot be listed here! Many can be determined based on MIME information.
Only in other cases such as uuencoded data does NewsRog use this
information to determine the media type. The Multimedia Types list looks
like this:
The first field is the multimedia type. The second is the method used to match the data to the type, and the third is pattern used to do the matching. The exact interpretation of the pattern field depends on the method used to do the matching. The following commands are available:
|
Multimedia Type Matching |
There are several types of matching available:
|
Summary |
By this point in the tutorial you should understand:
|